#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <math.h>
int main()
{
    int S = 0;
    scanf("%d", &S);
    int count = 0;
    int qs = (int)sqrt(S);
    int width;
    for (width = 1; width <= qs; width++)
    {
        if (S % width == 0)
        {
            count++;
        }
    }
    printf("%d", count);
    return 0;
}